import { Prisma } from '@prisma/client';

interface ComponentData {
  id: string;
  title: string;
  type: string;
  props: Prisma.JsonValue;
}
export class CreateQustionDto {
  title: string;
  answerCount: number;
  userId: number;
  componentsData: ComponentData[];
}
